//=============================================================================
// SentinelFlamethrower - Throws flame.
//=============================================================================
class SentinelFlamethrower extends SentinelWeapon;

var() class<Projectile> RedProjectileClass;
var() class<Projectile> BlueProjectileClass;

simulated function SetTeam()
{
	if(TeamIndex == 0)
		ProjectileClass = RedProjectileClass;
	else
		ProjectileClass = BlueProjectileClass;
}

function float MaxRange()
{
	return 1150;
}

defaultproperties
{
     RedProjectileClass=Class'taskforces.SentinelFireProj'
     BlueProjectileClass=Class'taskforces.SentinelFireProjBlue'
     FireRate=0.050000
     ProjectileClass=Class'taskforces.SentinelFireProj'
     WeaponAttachmentClass=Class'taskforces.SFlameAttachment'
     WeaponOffset=(X=320.000000,Y=-25.000000)
     Loudness=0.500000
     MaxAmmo=1
     AmmoAmount=1
     bNoAnim=True
     AmmoCost=1
     UpgradeName="Flamethrower"
     Description="Recommended for use where the Sentinel is expected to encounter enemies in close quarters, the flamethrower attachment has proven to be very effective against the hordes of Skaarj pupae encountered in some locations.||The flamethrower contains a highly efficient miniature electrolytic reactor capable of creating fuel literally from thin air."
     ActivateSound=Sound'TFMedia.FireChucker.PilotLightOn'
}
